Hello, |
Re: Attributes: Do they have an uniqueID? Also if you rename an attribute the action is marked in history but with the same history type as any other modification and did not find any method to get the previous name of the attribute from history. There is no oldValue retained for this change? |
Re: Attributes: Do they have an uniqueID? SystemAdmin - Wed Aug 19 08:48:59 EDT 2009 |
Re: Attributes: Do they have an uniqueID?
How do i get, starting from baseline 3.0, that the name of attribute "B" at baseline 1.0 is "A"? If i can not do this i will make the error and assume that attribute "B" at baseline 3.0 is attribute "B" at baseline 1.0, but in fact it is attribute "A". |
Re: Attributes: Do they have an uniqueID? SystemAdmin - Thu Aug 20 03:00:15 EDT 2009
How do i get, starting from baseline 3.0, that the name of attribute "B" at baseline 1.0 is "A"? If i can not do this i will make the error and assume that attribute "B" at baseline 3.0 is attribute "B" at baseline 1.0, but in fact it is attribute "A".
I dumped all the History properties and see nothing that preserves what changes occurred for a 'modifyAttr' history; it just gives the (new) name of the attr. Sorry.
void fHistDebugPrintHist(History hst)
{ // Debug routine, print the values of the History
noError()
print "fHistDebugPrintHist: Type <"> Date <"> Author <">\n"
print "\tAttr <"> Type <"> Position <"> NewPos <">\n"
print "\t#Objs <"> AbsNo <"> OldAbs <"> Sessn <">\n"
print "\tplainOldVal <"> plainNewVal <">\n"
print "\tOldVal <"> newVal <">\n----------------\n"
lastError()
} // end fHistDebugPrintHist()
|